package ModelLayer;

/**
 * A schedule object.
 * 31/05/2012
 * @author cbjerg
 * @version 0.1
 */

public class Schedule {
	
	private int id;
	private String date;
	private String startTime;
	private String endTime;
	private Employee employee;
	
	/**
	 * An empty schedule object.
	 */
	
	public Schedule()
	{
		
	}
	
	/**
	 * A schedule object.
	 * @param id The id of the schedule.
	 * @param date The date of the schedule.
	 * @param startTime The startTime of the schedule.
	 * @param endTime The endTime of the schedule.
	 * @param employee The employee this schedule belongs to. 
	 */
	
	public Schedule(int id, String date, String startTime, String endTime, Employee employee)
	{
		this.id=id;
		this.date=date;
		this.startTime=startTime;
		this.endTime=endTime;
		this.employee=employee;
	}

	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}

	/**
	 * @return the startTime
	 */
	public String getStartTime() {
		return startTime;
	}

	/**
	 * @param startTime the startTime to set
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	/**
	 * @return the endTime
	 */
	public String getEndTime() {
		return endTime;
	}

	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	/**
	 * @return the employee
	 */
	public Employee getEmployee() {
		return employee;
	}

	/**
	 * @param employee the employee to set
	 */
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	

}
